#include <Ice/Ice.h>
#include <Hello.h>

using namespace std;
using namespace Demo;

class Client: public Ice::Application
{

public:
  virtual int run (int argc, char* argv[]) {
    Ice::ObjectPrx obj = communicator()->stringToProxy(argv[1]);
    Demo::HelloPrx prx = Demo::HelloPrx::checkedCast(obj);
    prx->puts("Hola Mundo!");
    return 0;
  }

};

int
main
(int argc, char* argv[])
{

  Client* app = new Client();
  app->main(argc, argv);
  return 0;

}
